{include file="public/layout.htm" /}
<body class="back-c">
    <div class="ey-content">
        <div class="nav-tab-block">
            <div class="tab-wrap">
                <div class="tab-item active">基础内容</div>
                <div class="tab-item ">商品参数</div>
                <div class="tab-item ">SEO优化</div>
                <div class="tab-item ">更多设置</div>
            </div>
        </div>

        <div class="item-wrap-box" style="display: block;">
            <div class="item-wrap">
                <form id="postForm">
                    <div class="order-list">
                        <div class="list-left"><em class="color-red-text">*</em>文档标题</div>
                        <div class="list-right">
                            <div class="ey-input">
                                <div class="ey-input-wrapper">
                                    <input type="text" name="title" value="网站有权重，是否还需要继续做seo外包" id="title" class="ey-input-input" maxlength="200" oninput="check_title_repeat(this,'29096');">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left">副标题</div>
                        <div class="list-right">
                            <div class="ey-input">
                                <div class="ey-input-wrapper">
                                    <input type="text" name="subtitle" value="" id="subtitle" class="ey-input-input" placeholder="请输入副标题">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left">栏目分类</div>
                        <div class="list-right">
                            <span class="mr10">建站资料</span>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left">文档属性</div>
                        <div class="list-right">
                            <span class="popup-btn">编辑</span>
                            <i class="iconfont icon-right"></i>
                        </div>
                    </div>
                    <div class="order-list" style="display: none;">
                        <div class="list-left">跳转网址</div>
                        <div class="list-right">
                            <div class="ey-input">
                                <div class="ey-input-wrapper">
                                    <input type="text" value="" name="jumplinks" id="jumplinks" class="ey-input-input" placeholder="http://">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left">文档标签</div>
                        <div class="list-right">
                            <div class="ey-input">
                                <div class="ey-input-wrapper">
                                    <input type="text" name="subtitle" value="" id="subtitle" class="ey-input-input" placeholder="多个标签之间以逗号隔开">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left">封面图片</div>
                        <div class="list-right">
                            <div class="item-flex-img">
                                <a href="javascript:void(0);" onclick="$('#upload_single_pic_litpic_inpiut').trigger('click');" class="img-upload mb15" title="点击上传">
                                    <div class="y-line"></div>
                                    <div class="x-line"></div>
                                </a>
                                
                                <input type="file" name="litpic_inpiut_file" id="upload_single_pic_litpic_inpiut" onchange="upload_single_pic_1609837252(this,'litpic_inpiut')" style="display: none;">
                                <input type="hidden" name="litpic_inpiut" id="single_pic_input_litpic_inpiut" value="">
                                <span id="litpic_inpiut_txt_20200109" style="cursor: pointer; display: none;" onclick="$('#upload_single_pic_litpic_inpiut').trigger('click');">修改</span>
                            </div>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left">图片集</div>
                        <div class="list-right inline-block">
                            <div class="tab-pane">
                                
                                <div class="images_upload">
                                      <div class="images_upload_item">
                                          <input type="hidden" name="imgupload[]" value="https://www.eyoucms.com/uploads/allimg/20190731/b3cc010ae2ff9784be8f19758fe56b6b.jpg">
                                          <a class="img-upload" href="https://www.eyoucms.com/uploads/allimg/20190731/b3cc010ae2ff9784be8f19758fe56b6b.jpg" onclick="" target="_blank" title="拖动修改排序">
                                            <img src="https://www.eyoucms.com/uploads/allimg/20190731/b3cc010ae2ff9784be8f19758fe56b6b.jpg">
                                          </a>
                                          <a href="javascript:void(0)" onclick="ClearPicArr2(this,'https://www.eyoucms.com/uploads/allimg/20190731/b3cc010ae2ff9784be8f19758fe56b6b.jpg')" class="delect"></a>
                                      </div>
                                </div>
                                <div class="images_upload">
                                      <div class="images_upload_item">
                                          <input type="hidden" name="imgupload[]" value="https://www.eyoucms.com/uploads/allimg/20190731/b3cc010ae2ff9784be8f19758fe56b6b.jpg">
                                          <a class="img-upload" href="https://www.eyoucms.com/uploads/allimg/20190731/b3cc010ae2ff9784be8f19758fe56b6b.jpg" onclick="" target="_blank" title="拖动修改排序">
                                            <img src="https://www.eyoucms.com/uploads/allimg/20190731/b3cc010ae2ff9784be8f19758fe56b6b.jpg">
                                          </a>
                                          <a href="javascript:void(0)" onclick="ClearPicArr2(this,'https://www.eyoucms.com/uploads/allimg/20190731/b3cc010ae2ff9784be8f19758fe56b6b.jpg')" class="delect"></a>
                                      </div>
                                </div>
                                <div class="images_upload_main" id="tab_imgupload">
                                     <a href="javascript:void(0);" onclick="Get_mobile_imguploads(1,'','图片集');" class="img-upload mb15" title="拖动修改排序">
                                         <div class="y-line"></div>
                                         <div class="x-line"></div>
                                     </a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left">产品类型</div>
                        <div class="list-right">
                            <div class="select">
                                <select name="" id="">
                                    <option value="普通产品">普通产品</option>
                                    <option value="虚拟产品">虚拟产品</option>
                                    <option value="核销产品">核销产品</option>
                                </select>
                            </div>
                            <i class="iconfont icon-right"></i>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left">商品规格</div>
                        <div class="list-right">
                            <div class="select">
                                <select name="" id="">
                                    <option value="单规格">单规格</option>
                                    <option value="多规格">多规格</option>
                                </select>
                            </div>
                            <i class="iconfont icon-right"></i>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left"><em class="color-red-text">*</em>价格</div>
                        <div class="list-right">
                            <div class="ey-input">
                                <div class="ey-input-wrapper">
                                    <input class="ey-input-input" type="text" name="users_price" id="users_price" placeholder="原价" onkeyup="this.value=this.value.replace(/[^\.\d]/g,'');" onpaste="this.value=this.value.replace(/[^\.\d]/g,'');">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left">会员折扣价</div>
                        <div class="list-right">
                            <div class="select">
                                <select name="" id="">
                                    <option value="系统默认">系统默认</option>
                                    <option value="指定会员级别">指定会员级别</option>
                                    <option value="不参与">不参与</option>
                                </select>
                            </div>
                            <i class="iconfont icon-right"></i>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left">库存</div>
                        <div class="list-right">
                            <div class="ey-input">
                                <div class="ey-input-wrapper">
                                    <input class="ey-input-input" type="text" name="stock_count" id="stock_count" value="99999">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left">虚拟销量</div>
                        <div class="list-right">
                            <div class="ey-input">
                                <div class="ey-input-wrapper">
                                    <input class="ey-input-input" type="text" name="virtual_sales" id="virtual_sales" maxlength="100" style="width: 10%;" value="" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" onpaste="this.value=this.value.replace(/[^\d]/g,'')">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="order-list">
                        <div class="list-left">内容详情</div>
                        <div class="list-right">
                            编辑
                            <i class="iconfont icon-right"></i>
                        </div>
                    </div>
                    </form>
                    
                    
            </div>
            
        </div>
        <div class="item-wrap-box">
            <div class="item-wrap">
                <div class="order-list">
                    <div class="list-left">商品参数</div>
                    <div class="list-right">
                        <div class="select">
                            <select name="" id="">
                                <option value="请选择参数">请选择参数</option>
                            </select>
                        </div>
                        <i class="iconfont icon-right"></i>
                    </div>
                </div>
            </div>
            
            <div class="item-wrap">
                <div class="order-list">
                    <div class="list-left">操作系统</div>
                    <div class="list-right">
                        <div class="ey-input">
                            <div class="ey-input-wrapper">
                                <input class="ey-input-input" type="text" name="" id="" value="" placeholder="请输入参数值">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="add-attr">+自定义参数</div>
        </div>
        <div class="item-wrap-box">
            <div class="item-wrap">
                <div class="order-list">
                    <div class="list-left">SEO标题</div>
                    <div class="list-right">
                        <div class="ey-input">
                            <div class="ey-input-wrapper">
                                <input type="text" value="网站有权重，是否还需要继续做seo外包" name="seo_title" id="seo_title" class="ey-input-input">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="order-list">
                    <div class="list-left">SEO关键词</div>
                    <div class="list-right">
                        编辑
                        <i class="iconfont icon-right"></i>
                    </div>
                </div>
                <div class="order-list">
                    <div class="list-left">SEO描述</div>
                    <div class="list-right">
                        编辑
                        <i class="iconfont icon-right"></i>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-wrap-box">
            <div class="item-wrap">
                <div class="order-list">
                    <div class="list-left">作者</div>
                    <div class="list-right">
                        <div class="ey-input">
                            <div class="ey-input-wrapper">
                                <input type="text" value="小编" name="author" id="author" class="ey-input-input">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="order-list">
                    <div class="list-left">来源</div>
                    <div class="list-right">
                        <div class="ey-input">
                            <div class="ey-input-wrapper">
                                <input type="text" value="原创" name="origin" id="origin" class="ey-input-input">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="order-list">
                    <div class="list-left">点击数</div>
                    <div class="list-right">
                        <div class="ey-input">
                            <div class="ey-input-wrapper">
                                <input type="text" value="365" name="click" id="click" class="ey-input-input">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="order-list">
                    <div class="list-left">阅读权限</div>
                    <div class="list-right">
                        <div class="list-right">
                            <div class="select">
                                <select name="arcrank" id="arcrank">
                                    <option value="0" selected="">开放浏览</option>
                                    <option value="-1">待审核稿件</option>
                                    <option value="-2">被退回稿件</option>
                                    <option value="10">注册会员</option>
                                    <option value="50">月费会员</option>
                                    <option value="100">终身会员</option>
                                    <option value="150">代理会员</option>
                                    <option value="300">高级代理</option>
                                    <option value="500">代理贴牌</option>
                                </select>
                            </div>
                            <i class="iconfont icon-right"></i>
                        </div>
                    </div>
                </div>
                <div class="order-list">
                    <div class="list-left">发布时间</div>
                    <div class="list-right">
                        <div class="ey-input">
                            <div class="ey-input-wrapper">
                                <input type="text" class="ey-input-input" id="add_time" name="add_time" value="2023-02-28 17:52:57" autocomplete="off" lay-key="1">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="order-list">
                    <div class="list-left">文档模板</div>
                    <div class="list-right">
                        <div class="list-right">
                            <div class="select">
                                <select name="tempview" id="tempview">
                                    <option value="view_article.htm">view_article.htm</option>
                                </select>
                            </div>
                            <i class="iconfont icon-right"></i>
                        </div>
                    </div>
                </div>
                <div class="order-list">
                    <div class="list-left">自定义文件名</div>
                    <div class="list-right">
                        <div class="ey-input">
                            <div class="ey-input-wrapper">
                                <input type="text" readonly="readonly" title="动态模式下不支持自定义文档url" value="" name="htmlfilename" id="htmlfilename" autocomplete="off" onkeyup="this.value=this.value.replace(/[^\w\-]/g,'-');" onpaste="this.value=this.value.replace(/[^\w\-]/g,'-');" class="ey-input-input no-drop" placeholder="动态模式下不支持自定义文档url">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
        </div>
        <div class="bottom-popup">
          <div class="popup-content">
            <h5>添加文档属性：</h5>
            <div class="box-checkbox">
                <label><span>头条</span><input type="checkbox" name="is_head" value="1"></label>
            </div>
              
              
            <button class="btn btn-primary submit-btn">确定</button>
          </div>
        </div>
        
        
        

        <div class="w100-footer-wrap fixed-footer-wrap">
            <button class="" onclick="checkForm();">保存</button>
        </div>
    </div>
    <script type="text/javascript">
        $('.tab-wrap .tab-item').on('click', function () {
            $(this).addClass('active').siblings().removeClass('active');
            $('.item-wrap-box').hide().eq($('.tab-wrap .tab-item').index(this)).show();
        });
        $(function() {
          // 获取弹窗和按钮元素
          var popup = $('.bottom-popup');
          var popupBtn = $('.popup-btn');
        
          // 显示弹窗方法
          function showPopup() {
            popup.fadeIn();
          }
        
          // 关闭弹窗方法
          function closePopup() {
            popup.fadeOut();
          }
        
          // 获取选中的水果
          function getSelectedFruits() {
            var selectItems = [];
            $('#fruit-form input:checked').each(function() {
              selectItems.push($(this).next().text());
            });
            return selectItems;
          }
        
          // 点击弹窗以外的区域关闭弹窗
          $(document).mouseup(function(e) {
            if (!popup.is(e.target) && popup.has(e.target).length === 0) {
              closePopup();
            }
          });
        
          // 绑定按钮点击事件
          popupBtn.click(function() {
            showPopup();
          });
        
          // 绑定确定按钮事件
          var submitBtn = popup.find('.submit-btn');
          submitBtn.click(function(e) {
            e.preventDefault();
            var selectedFruits = getSelectedFruits();
            console.log('Selected fruits: ' + selectedFruits);
            closePopup();
          });
        
          // 绑定关闭按钮事件
          var closeBtn = popup.find('.close-btn');
          closeBtn.click(function() {
            closePopup();
          });
        });
    </script>
</body>
{include file="public/footer.htm" /}